int count = 6;
Map<int, String> image_dic = Map.fromEntries(List.generate(count, (index) => MapEntry(index, "images/${index}.png")));